package test.cloud.pangui.core.fake;

import com.zaxxer.hikari.HikariDataSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.sql.DataSource;

/**
 * 对于mybatis等start。引入后会自动构建datasource等
 * @Auther hepangui
 * @Date 2020/10/9 0009
 */
@Configuration
public class FakeConfiguration {
	@Bean
	public DataSource dataSource(){
		return new HikariDataSource();
	}
}
